package com.yonyougov.devops.cruxcisupport.rolemenu.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.util.List;

@Data
public class AddMulRoleMenuRequestDto extends BaseRequestDto {

    @NotNull
    @ApiModelProperty(value = "角色id", required = true)
    private BigInteger roleId;

    @NotNull
    @ApiModelProperty(value = "菜单id", required = true)
    private List<BigInteger> menuId;

}
